keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about VS-GW2120/GW1600/GW1202 and WGW1002G GSM Series VoIP Gateway

How can I disable international calls on wgw1002g

4 years 10 months ago #13782 by Echo
Hi, sir

you can set prefix in dial plan to restrict the international calls.
Attachments:
4 years 10 months ago #13783 by hua
Hello,

I think you have two ways to meet your demand. First way you can ask for help from your SIM card carrier , ask them to disable your international function, Second you can edit your routers via web interface , As you see , international call the dialed number must including country code so the digital is more than local calls , you can restrict the dialed number

Hope these info help you .
Attachments:
4 years 10 months ago #13791 by dika
Could you please give me an example how to edit extensions_routing.conf to restrict the international calls.
May be _0Z. will be only callst start with one 0 ....or may be _0049. (example for Germany)?
Please give me an example. Thanks
4 years 10 months ago #13792 by dika
[rtg-DE_out-1]
exten => _[*#+0-9].,1,NoOp(_[*#+0-9]. matches Rule rtg-DE_outg-1)
exten => _[*#+0-9].,n,Set(CDR_CALLEEID=${EXTEN})
exten => _[*#+0-9].,n,GrpPolicy(RO_gsm_all)
exten => _[*#+0-9].,n,Macro(dial-failover,,${EXTEN},${POLICY_DE_gsm_set})
exten => _[*#+0-9].,n,Goto(nocdr,s,1)

This is from my current file. How to replace _[*#+0-9]. this string?
4 years 10 months ago #13793 by hua
Hello,

Sorry, I can not give you a example by edit the extensions_custom.conf file . You can realize the function via web routing. You can add my skype upper.hua , We can talk there.
4 years 10 months ago #13795 by hua
[rtg-DE_out-1]
exten => _0049.,1,NoOp( _0049. matches Rule rtg-DE_outg-1)
exten => _0049.,n,Set(CDR_CALLEEID=${EXTEN})
exten => _0049.,n,GrpPolicy(RO_gsm_all)
exten => _0049.,n,Macro(dial-failover,,${EXTEN},${POLICY_DE_gsm_set})
exten => _0049.,n,Goto(nocdr,s,1)
Time to create page: 0.044 seconds
Powered by Kunena Forum